function click_boton_derecho(){ 
    if (event.button==2){ 
        var x = event.clientX;
        var y = event.clientY;
        $('#clickD').css('margin-top', y + 'px');
        $('#clickD').css('margin-left', x + 'px');
        $('#clickD').css('visibility', 'visible');
        
    }else{
        $('#clickD').css('visibility', 'hidden');
    } 
}
document.oncontextmenu = function(){click_boton_derecho();return false;};
document.onmousewheel=click_boton_derecho; 

